package com.cong.design;

/**
 * @author cong
 * <p>
 * created on 2021/3/31 下午3:13
 */
public class TrukeyAdapter implements Duck{
    Trukey trukey;

    public TrukeyAdapter(Trukey trukey) {
        this.trukey = trukey;
    }

    @Override
    public void quack() {
        trukey.gobble();
    }
}
